package com.jztd.servone.invoice.service;

import cn.xbatis.core.mybatis.mapper.context.Pager;
import com.jztd.servone.invoice.dto.InvoiceRecordDTO;
import com.jztd.servone.invoice.param.BasePageParam;
import com.jztd.servone.invoice.po.InvoiceRecord;

import java.util.List;

public interface InvoiceRecordService {
    InvoiceRecord getInvoiceRecordById(String id);
    Boolean addInvoiceRecord(InvoiceRecord invoiceRecord);
    Pager<InvoiceRecordDTO> getInvoiceRecordList(BasePageParam pageParam);
    Boolean updateInvoiceRecord(InvoiceRecord invoiceRecord);
    /**判断是否开票*/
    void checkInvoiceResults(String invoiceCode);
}
